<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>面向对象-放大镜</title>
    <link rel="stylesheet" href="./fangdajing.css">
</head>
<body>
    <div class="box box1">
        <div class="img">
            <div class="mask"></div>
        </div>
        <div class="enlarge"></div>
    </div>
    <br>
    <hr>
    <br>
    <div class="box box2">
        <div class="img">
            <div class="mask"></div>
        </div>
        <div class="enlarge"></div>
    </div>
    <script type="module">
    import Fdj from './fangdajing.js'
    const fdj1=new Fdj('.box1')
    const fdj2=new Fdj('.box2')
    </script>
</body>
</html>